[C#] How divide a string into array

Posted by Ricky on Stack Overflow See other posts from Stack Overflow or by Ricky
Published on 2010-02-26T08:22:45Z Indexed on 2010/04/11 4:13 UTC
Read the original article Hit count: 377

Filed under:
|
|

If I have the following plain string, how do I divide it into an array of three elements?

{["a","English"],["b","US"],["c","Chinese"]}

["a","English"],["b","US"],["c","Chinese"]

This problem is related to JSON string parsing, so I wonder if there is any API to faciliate the conversion.

© Stack Overflow or respective owner

Related posts about c#

Related posts about newtonsoft